<script>
import QuickLayout from '@/components/QuickLayout/index.vue'

export default {
  name: 'FieldType',
  components: { QuickLayout },
  data() {
    return {
      dataListUrl: '/maku-generator/gen/fieldtype/page',
      deleteUrl: '/maku-generator/gen/fieldtype'
    }
  }
}
</script>

<template>
  <quick-layout
    :data-list-url="dataListUrl"
    :delete-url="deleteUrl"
    size="small"
  >
    <template v-slot:query="{query}">
      <el-form-item label="字段名称">
        <el-input v-model="query.name" placeholder="请输入字段名称" />
      </el-form-item>
    </template>
    <template>
      <el-table-column type="selection" header-align="center" align="center" width="50" />
      <el-table-column prop="columnType" label="字段类型" header-align="center" align="center" />
      <el-table-column prop="attrType" label="属性类型" header-align="center" align="center" />
      <el-table-column prop="packageName" label="属性包名" header-align="center" align="center" />
    </template>
  </quick-layout>
</template>

<style scoped lang="scss">

</style>
